home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / unipl5-2.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  2.9 KB  |  103 lines

  1. /* Definitions file for GNU Emacs running on UniSoft's UniPlus 5.2
  2.    Copyright (C) 1985, 1986 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: FSF 19.29. */
  21.  
  22. /*
  23.  *    Define symbols to identify the version of Unix this is.
  24.  *    Define all the symbols that apply correctly.
  25.  */
  26.  
  27. #define USG                /* System III, System V, etc */
  28.  
  29. #define USG5
  30.  
  31. #define UNIPLUS
  32.  
  33. /* SYSTEM_TYPE should indicate the kind of system you are using.
  34.  It sets the Lisp variable system-type.  */
  35.  
  36. #define SYSTEM_TYPE "unisoft-unix"
  37.  
  38. /* Letter to use in finding device name of first pty,
  39.   if system supports pty's.  'p' means it is /dev/ptyp0  */
  40.  
  41. #define FIRST_PTY_LETTER 'p'
  42.  
  43. /*
  44.  *    Define HAVE_PTYS if the system supports pty devices.
  45.  */
  46.  
  47. #define HAVE_PTYS
  48.  
  49. /* Define this macro if system defines a type `union wait'.  */
  50.  
  51. #define HAVE_UNION_WAIT
  52.  
  53. /* Subprocesses are supported under UniPlus System V Release 2. */
  54.  
  55. /* If your system uses COFF (Common Object File Format) then define the
  56.    preprocessor symbol "COFF". */
  57.  
  58. #define COFF
  59.  
  60. /* define MAIL_USE_FLOCK if the mailer uses flock
  61.    to interlock access to /usr/spool/mail/$USER.
  62.    The alternative is that a lock file named
  63.    /usr/spool/mail/$USER.lock.  */
  64.  
  65. /* #define MAIL_USE_FLOCK */
  66.  
  67. /* Uniplus 5.2 supports long names in C */
  68.  
  69. /* #define SHORTNAMES */
  70.  
  71. /* The file containing the kernel's symbol table is called /unix.  */
  72.  
  73. #define KERNEL_FILE "/unix"
  74.  
  75. /* The symbol in the kernel where the load average is found
  76.    is named avenrun.  */
  77.  
  78. #define LDAV_SYMBOL "avenrun"
  79.  
  80. /* Special hacks needed to make Emacs run on this system.  */
  81.  
  82. /* On USG systems the system calls are interruptible by signals
  83.  that the user program has elected to catch.  Thus the system call
  84.  must be retried in these cases.  To handle this without massive
  85.  changes in the source code, we remap the standard system call names
  86.  to names for our own functions in sysdep.c that do the system call
  87.  with retries. */
  88.  
  89. #define INTERRUPTIBLE_OPEN
  90. #define INTERRUPTIBLE_IO
  91.  
  92. /* Compiler bug bites when default ADDR_CORRECT is used.  */
  93.  
  94. #define ADDR_CORRECT(x) (x)
  95.  
  96. /* Special library needed for linking for Uniplus */
  97.  
  98. #define LIBS_SYSTEM -lnet
  99.  
  100. /* A system-specific loader switch is needed.  */
  101.  
  102. #define LD_SWITCH_SYSTEM -N -L/lib/libg /usr/lib/unshared.ld
  103.